package com.example.administrator.myapplication;

import android.content.Context;
import android.util.AttributeSet;
import cn.jzvd.JZDataSource;
import cn.jzvd.JzvdStd;

public class MyRtmpPlayer extends JzvdStd {

    public MyRtmpPlayer(Context context) {
        super(context);
    }

    public MyRtmpPlayer(Context context, AttributeSet attrs) {
        super(context, attrs);
    }

    @Override
    public int getLayoutId() {
        return R.layout.myrtmpplayer;
    }

    @Override
    public void onStateError() {
        super.onStateError();
        this.mRetryBtn.performClick();
    }
}
